﻿<%@ page import="java.util.*" %>
<%
String Code = (String)session.getAttribute("LanguageCode");
String SubCode = (String)session.getAttribute("LanguageSubcode");
Locale locale = new Locale(Code, SubCode);
ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<table style="float:left; margin-left:20px;" class="detailtwo" name="creditCardGroup">
<tr>
<td colspan="3" width="100%">
<div style="float:left;"><b><%out.print(resource.getString("editReservation.creditCard.detail"));%></b></div>
</td>
</tr>
<tr>
<td colspan="1" width="30%" >
<div><%out.print(resource.getString("editReservation.creditCard.cardnumber"));%></div>
</td>
<td width="35%">
<input type="text" name="edit_res_resdetails_creditcard" id="edit_res_resdetails_creditcard" style="border:hidden; background-color:#E4E4E4; width:80px;">
</td>
<td width="35%">
<select name="edit_res_resdetails_creditcard2" id="edit_res_resdetails_creditcard2" style="border:hidden; background-color:#E4E4E4; width:80px;"></select>
</td>
</tr>
<tr>
<td>
<div style="float:left;"><%out.print(resource.getString("editReservation.creditCard.expire"));%></div>
</td>
<td>
<input type="text" name="edit_res_resdetails_creditcard_expire" id="edit_res_resdetails_creditcard_expire" style="width:35px; " placeholder="<%out.print(resource.getString("editReservation.creditCard.month"));%>"/>&nbsp; / &nbsp;<input type="text" name="edit_res_resdetails_creditcard2_expire" id="edit_res_resdetails_creditcard2_expire" style="width:35px;" placeholder="<%out.print(resource.getString("editReservation.creditCard.year"));%>">

</td>
<td>
CVC<input type="password" name="edit_res_resdetails_CVC" id="edit_res_resdetails_CVC" style="border:hidden; background-color:#E4E4E4; width:56px;">
<input type="hidden" name="edit_res_resdetails_creditcard_Id" id="edit_res_resdetails_creditcard_Id" style="border:hidden; background-color:#E4E4E4; width:56px;">
</td>
</tr>
<tr>
<td><div>&nbsp;</div></td>
<td><div>&nbsp;</div></td>
<td><div>&nbsp;
<span onclick="saveCreditCard()" name="saveCVC" style="float:right; margin-right:10px;" class="link"><%out.print(resource.getString("editReservation.creditCard.save"));%></span></div>
</td>
</tr>
</table>

<table name="creditCardSingle">
<tr>
<td style="float:left;">
<table style="float:left; margin-left:20px;" class="detailtwo">
<tr>
<td colspan="3" width="100%">
<div style="float:left;"><b>
<%out.print(resource.getString("editReservation.creditCard.detail"));%></b>
</div>
</td>
</tr>
<tr>
<td colspan="1" width="30%" >
<div>
<%out.print(resource.getString("editReservation.creditCard.cardnumber"));%>
</div>
</td>
<td width="35%">
<input type="text" name="edit_res_resdetails_creditcard_S" id="edit_res_resdetails_creditcard_S" style="border:hidden; background-color:#E4E4E4; width:80px;">
</td>
<td width="35%">
<select name="edit_res_resdetails_creditcard2_S" id="edit_res_resdetails_creditcard2_S" style="border:hidden; background-color:#E4E4E4; width:80px;"></select>
</td>
</tr>
<tr>
<td><div style="float:left;"><%out.print(resource.getString("editReservation.creditCard.expire"));%></div></td>
<td>
<input type="text" name="edit_res_resdetails_creditcard_expire_S" id="edit_res_resdetails_creditcard_expire_S" style="width:35px; " placeholder="<%out.print(resource.getString("editReservation.creditCard.month"));%>"/>&nbsp; / &nbsp;<input type="text" name="edit_res_resdetails_creditcard2_expire_S" id="edit_res_resdetails_creditcard2_expire_S" style="width:35px;" placeholder="<%out.print(resource.getString("editReservation.creditCard.year"));%>">
</td>
<td>
CVC<input type="password" name="edit_res_resdetails_CVC_S" id="edit_res_resdetails_CVC_S" style="border:hidden; background-color:#E4E4E4; width:56px;">
<input type="hidden" name="edit_res_resdetails_creditcard_Id_S" id="edit_res_resdetails_creditcard_Id_S" style="border:hidden; background-color:#E4E4E4; width:56px;" value="0">
</td>
</tr>
<tr>
<td><div>&nbsp;</div></td>
<td><div>&nbsp;</div></td>
<td><div>&nbsp;
<span onclick="saveCreditCard()" name="saveCVC" style="float:right; margin-right:10px;" class="link">
<%out.print(resource.getString("editReservation.creditCard.save"));%></span>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>